#ifndef YZJFILE_H
#define YZJFILE_H

#include <QFile>
#include <QMessageBox>
#include <QIODevice>
#include <stdio.h>
#include <stdlib.h>

class YZJFile
{
public:
    YZJFile();
//    QFile OpenFile(QString fileName);
    FILE *OpenFile(const char *fn,const char *mode);
    int SeekPosition(FILE *fp, long offset, int whence);
    void CloseFile(FILE *fp);
private:
    QFile file;
    QString fileName;

};

#endif // YZJFILE_H
